package com.tanhua.common.utils;

import java.lang.annotation.*;

/**
 * @author feihao
 * @version 1.0
 * @date 2021/6/30 15:45
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented //标记注解
public @interface Cache {


    /**
     * 缓存时间，默认60s
     * @return
     */
    String time() default "60";
}
